package org.lx.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.lx.nursing.domain.Contract;

import java.util.List;

/**
 * 合同Service接口
 *
 * @author lx
 * @date 2025-02-28
 */
public interface IContractService extends IService<Contract> {
    Contract selectContractById(Long id);

    List<Contract> selectContractList(Contract contract);

    int insertContract(Contract contract);

    int updateContract(Contract contract);

    int deleteContractByIds(Long[] ids);

    int deleteContractById(Long id);
    /**
     * 更新合同状态
     */
    void updateContractStatus();
}
